package com.example.mobile2021606127cxz0429;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;

import androidx.appcompat.app.AppCompatActivity;

public class MainActivity3 extends AppCompatActivity {

    private EditText edtUser;
    private EditText edtPsw;
    private EditText edtPsw2;
    private EditText edtPhone;
    private Button btnRegister;
    private Button btnExit;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main3);
        initView();
        btnRegister.setOnClickListener(v -> {

        });

        btnExit.setOnClickListener(v -> MainActivity3.this.finish());

    }

    private void initView() {
        edtUser = (EditText) findViewById(R.id.edt_user);
        edtPsw = (EditText) findViewById(R.id.edt_psw);
        edtPsw2 = (EditText) findViewById(R.id.edt_psw2);
        edtPhone = (EditText) findViewById(R.id.edt_phone);
        btnRegister = (Button) findViewById(R.id.btn_register);
        btnExit = (Button) findViewById(R.id.btn_exit);
    }
}